package com.fpd.model.ro;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * TODO
 *质检备注信息表
 * @author jiangshuai
 * @version 1.0
 * @date 2020/11/25 15:54
 */
@ApiModel(value = "质检备注信息表")
@Data
public class ImportFileNameRO {
    @ApiModelProperty(value = "导入Excel表ID")
    private String ID;

    @ApiModelProperty(value = "委托方id")
    private String thirdPartyId;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "上传文件时间",hidden = true)
    private Date uploadingTime;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "文件所在服务器上的地址")
    private String filePath;

    @ApiModelProperty(value = "拆分后类型 0：错误数据文件  1：正确数据文件")
    private String isSucceed;

    @ApiModelProperty(value = "是否是历史数据导入文件 0：不是 1：是")
    private String isHistory;

}
